package cn.rocksolid.sport.security.service;

import cn.rocksolid.sport.common.Constant.AccessType;
import cn.rocksolid.sport.security.entity.CredentialEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * System credential service
 *
 * @author Axl Zhao
 * @email axl.zhao@163.com
 */
public interface CredentialService extends IService<CredentialEntity> {

  void verify(final String id, final AccessType accessType, final String credential);

  void refresh(final String id, final AccessType accessType, final String credential);
}
